﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="AportesEstudianteEspecifico.aspx.vb" Inherits="Template_SAFS_VB.AportesEstudianteEspecifico" %>

<%@ Register assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" namespace="Microsoft.Reporting.WebForms" tagprefix="rsweb" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <asp:TextBox ID="txtNombre" runat="server"></asp:TextBox>
        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
        <rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana" 
            Font-Size="8pt" InteractiveDeviceInfos="(Collection)" 
            WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt" Width="718px">
            <LocalReport ReportPath="Reportes\ReporteCantidadDeAportesEstudiantesForos.rdlc">
                <DataSources>
                    <rsweb:ReportDataSource DataSourceId="CantAportesEstudianteForoEspecifico" 
                        Name="ReporteCantidadAportesEstudiantesForos" />
                </DataSources>
            </LocalReport>
        </rsweb:ReportViewer>
        <asp:SqlDataSource ID="CantAportesEstudianteForoEspecifico" runat="server" 
            ConnectionString="<%$ ConnectionStrings:SAFSDB1ConnectionString %>" 
            SelectCommand="sp_rp_cant_aportes_de_un_estudiante_en_foro" 
            SelectCommandType="StoredProcedure">
            <SelectParameters>
                <asp:ControlParameter ControlID="txtNombre" DefaultValue="0" Name="nombreForo" 
                    PropertyName="Text" Type="String" />
                <asp:ControlParameter ControlID="TextBox1" DefaultValue="0" Name="nombre" 
                    PropertyName="Text" Type="String" />
            </SelectParameters>
        </asp:SqlDataSource>
    
    </div>
    </form>
</body>
</html>
